﻿<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Activity_ActExecLog_SetDateParam.aspx.vb" Inherits="PubProject.Activity_ActExecLog_SetDateParam"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Order_Sh</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<script language="javascript" src="/_controls/settings.aspx"></script>
		<link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
		<link rel="stylesheet" type="text/css" href="/_common/styles/dialogs.css">
		<script language="javascript" src="/_controls/util/util.js"></script>
		
		<LINK href="/_forms/styles/form.css" type="text/css" rel="stylesheet">
		<LINK href="/_nav/tabs.css" type="text/css" rel="stylesheet">
		<LINK href="/_nav/nav.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="/_controls/datetime/date.js"></script>
		<script language="javascript" src="/_controls/number/number.js"></script>
		<script language="javascript" src="/_common/scripts/Details.js"></script>
		<LINK href="/_common/styles/select.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="/_common/scripts/global.js"></script>
		<script language="javascript" src="/_forms/FormBase.js"></script>
		<script language="javascript" src="/_controls/datetime/time.js"></script>

		<script language="javascript">
		function Ok()
		{
	       	if(mapForm.txtBeginDate.value == "")
			{
				alert("请选择起始日期！");
				mapForm.txtBeginDate.focus();
				return;
			}				
			if(mapForm.txtEndDate.value == "")
			{
				alert("请选择截止日期！");
				mapForm.txtEndDate.focus();
				return;
			}				
		    parent.window.returnValue=mapForm.txtBeginDate.value + "|" + mapForm.txtEndDate.value + "|" + mapForm.actType.value;
			parent.window.close();
		}
		</script>
	</HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="mapForm" method="post" runat="server" class="map">
			<asp:linkbutton id="lbnSubmit" style="DISPLAY: none" runat="server">系统</asp:linkbutton>
			<table width="100%" cellspacing="0" cellpadding="0" height="100%">
				<tr>
					<td class="header">
						<div class="header">设置日期过滤</div>
						<div class="headerdesc"></div>
					</td>
				</tr>
				<tr>
					<td class="main">
						<table style="TABLE-LAYOUT: fixed;VERTICAL-ALIGN: text-bottom" cellSpacing="0" cellPadding="3"
							width="100%" height="100%">
							<COLGROUP>
								<col width="60">
								<col>
							</COLGROUP>
								<TBODY>
									<tr height="25">
										<td class="req">起始日期</td>
										<td>
											<table style="TABLE-LAYOUT: fixed" cellSpacing="0" cellPadding="0" width="100%">
												<COLGROUP>
													<col>
													<col width="40">
													<tr>
														<td><asp:textbox  req="1" class="dtm" time="0" id="txtBeginDate" runat="server" maxlength="16" returnValue=""
																value="" mapType="dtm"></asp:textbox></td>
														<td style="PADDING-LEFT: 4px"><IMG class="dtm" src="/_imgs/btn_off_cal.gif" align="absMiddle"></td>
													</tr>
											</table>
										</td>
									</tr>
									<tr height="25">
										<td class="req">截止日期</td>
										<td>
											<table style="TABLE-LAYOUT: fixed" cellSpacing="0" cellPadding="0" width="100%">
												<COLGROUP>
													<col>
													<col width="40">
													<tr>
														<td><asp:textbox req="1" class="dtm" time="0" id="txtEndDate" runat="server" maxlength="16" returnValue=""
																value="" mapType="dtm"></asp:textbox></td>
														<td style="PADDING-LEFT: 4px"><IMG class="dtm" src="/_imgs/btn_off_cal.gif" align="absMiddle"></td>
													</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td ><FONT face="宋体"></FONT></td>
									</tr>
									<tr height="25">
										<td class="req">发送类型</td>
										<td>
											<table style="TABLE-LAYOUT: fixed" cellSpacing="0" cellPadding="0" width="100%">
													<tr>
														<td><select style="width: 200px" id="actType">
														    <option selected=selected value="短信">短信</option>
														    <option value="Email">Email</option>
														</select></td>
													</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td ><FONT face="宋体"></FONT></td>
									</tr>
								</TBODY>
						</table>
					</td>
				</tr>
				<tr height="60">
					<td class="buttons">
					    <TABLE style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
						    <TR>
							    <TD align="right">
						            <button onclick="Ok()" id="btnOk" type="button">确 定</button>&nbsp;&nbsp; <button onclick="parent.window.close();" type="button">
							            取 消</button>
							    </td>
							</TR>
						</TABLE>    
					</td>
				</tr>
				<tr height="15">
				    <td>
				    </td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
